Optimal. Leaf size=36 \[ -\frac {\tan (e+f x) (a \sec (e+f x)+a)}{3 f (c-c \sec (e+f x))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {3950} \[ -\frac {\tan (e+f x) (a \sec (e+f x)+a)}{3 f (c-c \sec (e+f x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3950
Rubi steps
\begin {align*} \int \frac {\sec (e+f x) (a+a \sec (e+f x))}{(c-c \sec (e+f x))^2} \, dx &=-\frac {(a+a \sec (e+f x)) \tan (e+f x)}{3 f (c-c \sec (e+f x))^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.25, size = 50, normalized size = 1.39 \[ \frac {a \csc \left (\frac {e}{2}\right ) \left (\sin \left (e+\frac {3 f x}{2}\right )-3 \sin \left (e+\frac {f x}{2}\right )\right ) \csc ^3\left (\frac {1}{2} (e+f x)\right )}{12 c^2 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 51, normalized size = 1.42 \[ \frac {a \cos \left (f x + e\right )^{2} + 2 \, a \cos \left (f x + e\right ) + a}{3 \, {\left (c^{2} f \cos \left (f x + e\right ) - c^{2} f\right )} \sin \left (f x + e\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.58, size = 21, normalized size = 0.58 \[ -\frac {a}{3 \, c^{2} f \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.79, size = 21, normalized size = 0.58 \[ -\frac {a}{3 f \,c^{2} \tan \left (\frac {e}{2}+\frac {f x}{2}\right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.60, size = 97, normalized size = 2.69 \[ -\frac {\frac {a {\left (\frac {3 \, \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )} {\left (\cos \left (f x + e\right ) + 1\right )}^{3}}{c^{2} \sin \left (f x + e\right )^{3}} - \frac {a {\left (\frac {3 \, \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} - 1\right )} {\left (\cos \left (f x + e\right ) + 1\right )}^{3}}{c^{2} \sin \left (f x + e\right )^{3}}}{6 \, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.06, size = 20, normalized size = 0.56 \[ -\frac {a\,{\mathrm {cot}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^3}{3\,c^2\,f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {a \left (\int \frac {\sec {\left (e + f x \right )}}{\sec ^{2}{\left (e + f x \right )} - 2 \sec {\left (e + f x \right )} + 1}\, dx + \int \frac {\sec ^{2}{\left (e + f x \right )}}{\sec ^{2}{\left (e + f x \right )} - 2 \sec {\left (e + f x \right )} + 1}\, dx\right )}{c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________